import {NgModule} from '@angular/core';
import {SharedModule} from '@shared/shared.module';
import {TeacherRoutingModule} from './teacher-routing.module';
import {ListComponent} from './list/list.component';
import {TeacherService} from './teacher.service';
import { AddComponent } from './add/add.component';
import {FormsModule} from '@angular/forms';

const COMPONENT_NOROUNT = [];

@NgModule({
    imports: [
        SharedModule,
        TeacherRoutingModule,
        FormsModule
    ],
    declarations: [
        ...COMPONENT_NOROUNT,
        ListComponent,
        AddComponent
    ],
    providers: [TeacherService],
    entryComponents: COMPONENT_NOROUNT
})
export class TeacherModule {
}
